import React,{useEffect} from 'react'
import { Calendar } from 'antd';
import Title from 'antd/lib/typography/Title';
import { toast } from '../../utils/commom';
export default function Coo() {
  const onChange = (value:any) => {
    console.log(value._d.getMonth()+1)
  }

  useEffect(() => {
   toast.success("今日已打卡")
  }, [])
  return (
    <div>
      <Title>考勤</Title>
      <div style={{ width: "300px",border: "1px solid #f0f0f0",borderRadius:"2px"}}>
        <Calendar  fullscreen={false} onChange={onChange} />
      </div>
    </div>
  )
}

